/**
 * <p>Title:AuditTrailRecord</p>
 * <P>Description:Signature实体类</p>
 * <p>Copyright: Shanghai Batchsight Pharmaceutical Technologies, Inc. Copyright(c) 2016</p>
 * @author HuangZhongWei
 * @version 1.0
 * <pre>Histroy: </pre>
 */
package cn.jhg.account.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import org.bson.Document;


public class AuditTrailRecord implements Serializable {

	private int id=0;
	private int sid=0;//签名id
	private int tid=0;//类型id
	private int otid=0;//对象类型id
	private int uid=0;//用户id
	private int lid=0;//位置id
	private Timestamp timestamp=null; //时间戳
	private String metadata=null; //元数据
	private Document meta=null; //数据
	public Document getMeta() {
		return meta;
	}
	public void setMeta(Document meta) {
		this.meta = meta;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	public int getOtid() {
		return otid;
	}
	public void setOtid(int otid) {
		this.otid = otid;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getLid() {
		return lid;
	}
	public void setLid(int lid) {
		this.lid = lid;
	}
	public Timestamp getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(Timestamp timestamp) {
		this.timestamp = timestamp;
	}
	public String getMetadata() {
		return metadata;
	}
	public void setMetadata(String metadata) {
		this.metadata = metadata;
	}
	@Override
	public String toString() {
		return "AuditTrailRecord [id=" + id + ", sid=" + sid + ", tid=" + tid + ", otid=" + otid + ", uid=" + uid
				+ ", lid=" + lid + ", timestamp=" + timestamp + ", metadata=" + metadata + ", meta=" + meta + "]";
	}

}
